package com.group02.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group02.community.entity.community.ZyRoom;
import com.group02.community.entity.community.ZyUnit;
import com.group02.community.entity.vo.RoomStatusVO;
import com.group02.community.entity.vo.queryVO.UnitQueryVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoomMapper extends BaseMapper<ZyRoom> {
    IPage<ZyRoom> getRoomPageList(Page<ZyRoom> page,UnitQueryVO unitQueryVO);

    List<RoomStatusVO> getRoomStatusList();


}
